﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Microhard.Permission.Validator;

namespace Microhard.Permission.Models
{

    [FluentValidation.Attributes.Validator(typeof(ResourceTypeValidator))]
    public class ResouceType
    {
        public Guid ResourceTypeID { set; get; }

        /// <summary>
        /// 资源类型名称
        /// </summary>

        public string Name { set; get; }

        /// <summary>
        /// KeyName
        /// </summary>
        public string KeyName { set; get; }

        /// <summary>
        /// 资源类型备注
        /// </summary>

        public string Description { get; set; }
    }
}
